package com.ruoyi.wzgl.wzsq.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资申请对象 wzgl_wzsq
 *
 * @author huacai
 * @date 2024-09-29
 */
public class Wzsq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物资申请ID */
    private Integer wzsqId;

    /** 申请工区 */
    @Excel(name = "申请工区")
    private String gqName;

    /** 申请人 */
    @Excel(name = "申请人")
    private String sqName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sqTime;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 物资申请明细信息 */
    private List<WzsqSqmx> wzsqSqmxList;

    /** 用户昵称 */
    private String nickName;

    /** 状态 */
    private Integer processStatus;

    /** 流程示例ID */
    private String processInstanceId;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(Integer processStatus) {
        this.processStatus = processStatus;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public void setWzsqId(Integer wzsqId)
    {
        this.wzsqId = wzsqId;
    }

    public Integer getWzsqId()
    {
        return wzsqId;
    }
    public void setGqName(String gqName)
    {
        this.gqName = gqName;
    }

    public String getGqName()
    {
        return gqName;
    }
    public void setSqName(String sqName)
    {
        this.sqName = sqName;
    }

    public String getSqName()
    {
        return sqName;
    }
    public void setSqTime(Date sqTime)
    {
        this.sqTime = sqTime;
    }

    public Date getSqTime()
    {
        return sqTime;
    }
    public void setBz(String bz)
    {
        this.bz = bz;
    }

    public String getBz()
    {
        return bz;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    public List<WzsqSqmx> getWzsqSqmxList()
    {
        return wzsqSqmxList;
    }

    public void setWzsqSqmxList(List<WzsqSqmx> wzsqSqmxList)
    {
        this.wzsqSqmxList = wzsqSqmxList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wzsqId", getWzsqId())
            .append("gqName", getGqName())
            .append("sqName", getSqName())
            .append("sqTime", getSqTime())
            .append("bz", getBz())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("wzsqSqmxList", getWzsqSqmxList())
            .toString();
    }
}
